package com.etc.tool;

import java.text.SimpleDateFormat;
import java.util.Date;

public class refFormatNowDate {
    public static String getNowDate(){
        Date nowTime = new Date(System.currentTimeMillis());
        SimpleDateFormat sdFormatter = new SimpleDateFormat("yyyy-MM-dd");
        String retStrFormatNowDate = sdFormatter.format(nowTime);
        return retStrFormatNowDate;
    }

}
